<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>修改客户信息</title>
</head>
<body>
<h2>修改客户信息</h2>
<form action="updateCustomer.do" method="post">
	编号：<input type="text" name="id" readonly="readonly" value="${c.id }" /><br />
	姓名：<input type="text" name="userName" value="${c.userName }" /><br />
	性别：
	<c:choose>
		<c:when test="${c.gender==1 }">
			<input type="radio" name="gender" value="1" checked="checked" />男&nbsp;&nbsp;<input type="radio" name="gender" value="0" />女
		</c:when>
		<c:otherwise>
			<input type="radio" name="gender" value="1" />男&nbsp;&nbsp;<input type="radio" name="gender" value="0" checked="checked" />女
		</c:otherwise>
	</c:choose>	
	<br />
	生日：<input type="text" name="birth" value="${c.birth }" /><br />
	电话：<input type="text" name="tel" value="${c.tel }" /><br />
	<input type="submit" value="修改" />
</form>
</body>
</html>